package Classes;


/**
 * Write a description of class Reference here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Reference
{
    // instance variables - replace the example below with your own
    private int ref;
    private Produit produit1;
    
     public int getRef()
    { return this.ref; }
    
    public void setRef(int i)
    { this.ref = i; }

    /**
     * Constructor for objects of class Reference
     */
    public Reference()
    {
        // initialise instance variables
        ref = 0;
    }

    /**
     * An example of a method - replace this comment with your own
     * 
     * @param  y   a sample parameter for a method
     * @return     the sum of x and y 
     */

    public void nouveauxProduit()
    {
        // put your code here
        produit1 = new Produit();
        produit1.setPrix(5);
        produit1.setNom("Velo");
    }
}
